package com.sumainfor.pc.gmio.service.impl.epc;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.dao.epc.TcgmioTenantBillMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Map;

/**
 * <p>
 * 获取支付的维修工单
 * <p>
 *
 * @author:zhoucong
 * @create: 2019-04-24 11:30
 **/
@Service
public class TcgmioTenantBillServiceImpl implements Serializable {

    @Autowired
    TcgmioTenantBillMapper tcgmioTenantBillMapper;
    /**
    * <p>
    * 待支付
    * </p>
    *
    * @author: zhoucong
    * @since:
    */
    public JsonResult getTcmgioBillOne(Map<String,Object> params){
        JsonResult result = new JsonResult();
        return result.put(tcgmioTenantBillMapper.getTcmgioBillOne(params));
    }

    /**
    * <p>
    * 已支付
    * </p>
    *
    * @author: zhoucong
    * @since:
    */
    public JsonResult getTcmgioBillTwo(Map<String,Object> params){
        JsonResult result = new JsonResult();
        return result.put(tcgmioTenantBillMapper.getTcmgioBillTwo(params));
    }



}
